﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Site2.Master" AutoEventWireup="true"
    CodeBehind="ResetPassword.aspx.cs" Inherits="CDOP.ResetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Table ID="tblUserInfo" runat="server">
        <asp:TableRow>
            <asp:TableCell>
                <label for="txtPassword">Enter Password</label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox TextMode="Password" ID="txtPassword" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtPassword" ID="rfvPassword" runat="server"
                    EnableClientScript="true" ErrorMessage="Password is requied" Text="*"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <label for="txtConfirmPassword">Confirm Password</label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtConfirmPassword" TextMode="Password" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtConfirmPassword" ID="rfvConfirmPassword"
                    runat="server" EnableClientScript="true" ErrorMessage="Password Confirmation is requied"
                    Text="*"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="cmpVCOnfirmPassword" ControlToValidate="txtConfirmPassword"
                    ControlToCompare="txtPassword" runat="server" ErrorMessage="Passwords must match"></asp:CompareValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
               <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="BtnResetClick" />
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lblStatus" runat="server" />
            </asp:TableCell></asp:TableRow></asp:Table>
</asp:Content>
